﻿using Microsoft.Practices.Prism.StoreApps;
using System;
using Windows.ApplicationModel.Background;
using Windows.UI.Xaml.Navigation;


namespace WinRT.SIP.UI.Views
{
    /// <summary>
    /// A basic page that provides characteristics common to most applications.
    /// </summary>
    public sealed partial class MainPage : VisualStateAwarePage
    {
        public MainPage()
        {
            this.InitializeComponent();
        }

        //protected async override void OnNavigatedTo(NavigationEventArgs e)
        //{
        //    if (BackgroundExecutionManager.GetAccessStatus() == BackgroundAccessStatus.Unspecified)
        //    {
        //        var backgroundAccessStatus = await BackgroundExecutionManager.RequestAccessAsync();
        //    }
        //}
    }
}
